package com.zhao;

import com.zhao.builder.ComputerBuilder;

public class Creater {

    ComputerBuilder computerBuilder;

    public Creater(ComputerBuilder computerBuilder) {
        this.computerBuilder = computerBuilder;
    }

    public void construct(String board, String keyboard) {
        computerBuilder.assembleBoard(board);
        computerBuilder.assembleKeyboard(keyboard);
        computerBuilder.assembleOs();
    }
}
